<table>
	<tr class="head" style="font-weight:800;">
		<td class="col1">ID</td>
		<td class="col2">计费单元</td>
		<td class="col3">所属用户</td>
		<td class="col4">计费类型</td>
		<td class="col5">计费方法</td>
		<td class="col6">所属业务</td>
		<td class="col7">操作</td>
	</tr>
<?php foreach ($this->data['unit'] as $v) {?>
	<tr>
		<td class="col1"><?php echo $v['id'];?></td>
		<td class="col2"><?php echo $v['unit']; ?></td>
		<td class="col3"><?php echo $v['username']; ?></td>
		<td class="col4"><?php echo $v['charge_mode'];?></td>
		<td class="col5"><?php echo $v['fee_mode'];?></td>
		<td class="col6"><?php echo $v['service']; ?></td>
		<td class="col7"><a class="del" href="javascript:void(0)" unit_id="<?php echo $v['id'];?>" >删除</a></td>
	</tr>
<?php }?>
</table>
<script>
var total = <?php echo $this->data['total'];?>;
</script>
